Lars Ingebrigtsen [Wed, 10 Feb 2016 03:50:40 +0000 (14:50 +1100)]
* lisp/gnus/ecomplete.el: Remove XEmacs compat code.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:50:12 +0000 (14:50 +1100)]
Remove compat code from compface.el
* lisp/gnus/compface.el: Remove XEmacs compat code throughout.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:47:24 +0000 (14:47 +1100)]
Remove the now empty gnus-ems.el and references to it
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:42:03 +0000 (14:42 +1100)]
Remove Gnus compat names for mouse bindings
* lisp/gnus/gnus-ems.el (gnus-widget-button-keymap): Remove.
(gnus-down-mouse-2): Remove.
(gnus-down-mouse-3): Remove.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:34:22 +0000 (14:34 +1100)]
Drop Gnus compat functions
* lisp/gnus/gnus-ems.el (gnus-mule-max-width-function): Remove.
* lisp/gnus/gnus-util.el (gnus-kill-all-overlays): Move here.
* lisp/gnus/gnus.el (gnus-mode-line-modified): Remove.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:24:11 +0000 (14:24 +1100)]
Get rid of gnus-ems-redefine
* lisp/gnus/gnus-ems.el (gnus-mouse-face-prop): Remove.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:19:26 +0000 (14:19 +1100)]
* lisp/gnus/gnus-spec.el: Move definition here from gnus-ems.el.
Lars Ingebrigtsen [Wed, 10 Feb 2016 03:12:42 +0000 (14:12 +1100)]
Remove Gnus compat code
* lisp/gnus/gnus-ems.el (gnus-ems-redefine): Remove
transitional code from ten years ago.
Lars Ingebrigtsen [Wed, 10 Feb 2016 02:47:58 +0000 (13:47 +1100)]
Allow interactively scaling past :max-width etc
* lisp/image.el (image--current-scaling)
(image--image-without-parameters): New functions.
(image--change-size): Use them to allow changing the size of a
image even if it has :width/:max-width (etc.) already set.
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:57:07 +0000 (12:57 +1100)]
* lisp/gnus/mm-decode.el (shr-image-map): Compilation fix.
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:56:21 +0000 (12:56 +1100)]
Allow accessing the image commands via shr
* lisp/gnus/mm-decode.el (mm-convert-shr-links): Allow
accessing the image commands.
* lisp/net/shr.el (shr-image-map): New map used for images.
(shr-urlify): Don't overwrite image maps when applying URL maps.
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:32:28 +0000 (12:32 +1100)]
Use a sparse image keymap
* lisp/image.el (image-map): Use a sparse keymap.
Lars Ingebrigtsen [Wed, 10 Feb 2016 01:03:55 +0000 (12:03 +1100)]
Put a keymap on images created with insert-image and friends
* lisp/image.el (image-save): New command.
(image-rotate): Ditto.
(image-map): New keymap.
(insert-image): Put the image-map on all images.
(insert-sliced-image): Ditto.
* doc/lispref/display.texi (Showing Images): Document the
image map.
Lars Ingebrigtsen [Wed, 10 Feb 2016 00:14:45 +0000 (11:14 +1100)]
Fix some folding issues in read-multiple-choice
* lisp/subr.el (read-multiple-choice): Fix folding when you
have many items.
Lars Ingebrigtsen [Tue, 9 Feb 2016 23:59:25 +0000 (10:59 +1100)]
Fix typo in last checkin
Lars Ingebrigtsen [Tue, 9 Feb 2016 23:58:59 +0000 (10:58 +1100)]
Remove Gnus compat functions
* lisp/gnus/gnus-ems.el (gnus-mark-active-p)
(gnus-region-active-p, gnus-select-lowest-window)
(gnus-summary-display-table, gnus-max-width-function): Remove
compat functions.
Lars Ingebrigtsen [Tue, 9 Feb 2016 23:49:20 +0000 (10:49 +1100)]
Move non-compat Gnus functions to gnus-util.el
* lisp/gnus/gnus-util.el (gnus-remove-image, gnus-put-image)
(gnus-create-image, gnus-image-type-available-p): Move here
from gnus-ems.el, since these aren't compat functions.
Paul Eggert [Tue, 9 Feb 2016 23:24:08 +0000 (15:24 -0800)]
Omit valloc decl if redundant
* src/gmalloc.c (valloc): Omit decl if malloc.h is included,
to pacify --enable-gcc-warnings.
Wolfgang Jenkner [Tue, 9 Feb 2016 23:04:40 +0000 (15:04 -0800)]
Restore the calloc family.
* src/gmalloc.c (calloc, gcalloc, hybrid_calloc): Restore definitions.
They were lost in
a4817d8 but calloc is still (marginally) used in
code statically liked with emacs, so hybrid_calloc is needed.
Also, in the non-hybrid case, we can't get rid of calloc anyway as
other libraries liked with emacs may need it.
* src/conf_post.h: Restore redefinition of calloc to hybrid_calloc.
Lars Ingebrigtsen [Tue, 9 Feb 2016 22:53:13 +0000 (09:53 +1100)]
Remove some Gnus compat functions
* lisp/gnus/gnus-ems.el (gnus-string-mark-left-to-right)
(gnus-window-inside-pixel-edges, gnus-set-process-plist)
(gnus-process-plist, gnus-process-get, gnus-process-put): Remove.
Paul Eggert [Tue, 9 Feb 2016 22:26:40 +0000 (14:26 -0800)]
-
Paul Eggert [Tue, 9 Feb 2016 22:23:53 +0000 (14:23 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
9935e7c Make the `R' command get the correct relative <img>s
Paul Eggert [Tue, 9 Feb 2016 22:23:53 +0000 (14:23 -0800)]
-
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
d7933ff ; Auto-commit of ChangeLog files.
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
Merge from origin/emacs-25
4feb962 * lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
cc419fb Don't inloop gnus-uu-mark-thread on the last thread
51c77a2 Display non-ASCII group names better in prompts
f93d669 Default to gpg2 instead of gpg
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
35cbe20 src/process.c Correctly convert AF_INET6 addresses
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
Merge from origin/emacs-25
9ffe7dd * lisp/isearch.el (isearch-define-mode-toggle): Improve logic
16140f7 * lisp/menu-bar.el (menu-bar-options-menu): New search submenu
3db6adb * lisp/isearch.el (search-default-mode)
4ea1ea7 * lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
c77ffc8 Use monitor's resolution for positioning tooltips
49e5749 Fix file-notify-test on MS-Windows
be1d874 Fix issues found by auditing w32notify code
87ae218 Extend etags Ruby support for accessors
aa35257 Update publicsuffix.txt.
6816bff Ensure that Gnus dribble handling allows removing entries
691feae Be consistent when using encoded strings in nnimap data
3ed423b Display the decoded Gnus group name
5428b5b Use completion-ignore-case instead of defining command
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
1fbcc8a Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
Paul Eggert [Tue, 9 Feb 2016 22:23:10 +0000 (14:23 -0800)]
Merge from origin/emacs-25
1eaf68f * test/automated/file-notify-tests.el (file-notify-test06-many-events):
d333716 ; * etc/NEWS: Expand news entry for scss-mode
c32c16f ; Better document changes in ls-lisp default behavior
dc6eed2 Fix doc string of tls-program
Paul Eggert [Tue, 9 Feb 2016 22:23:09 +0000 (14:23 -0800)]
; Merge from origin/emacs-25
The following commit was skipped:
1ef309f Restore window conf in nsm
Paul Eggert [Tue, 9 Feb 2016 22:23:09 +0000 (14:23 -0800)]
Merge from origin/emacs-25
2c117fc * etc/NEWS: Document new mpc.el features
71a0496 * lisp/custom.el (
defface): Revert indentation change. (Bug#22524)
9dfece1 Correctly fontify C++ initializations which "look like" functions.
4485222 Improve newsticker-treeview-selection-face
4236944 Minor fix in tagging Ruby accessors by etags
35fc77d Spelling fixes
3dda110 Remove 'def X' from the example
Paul Eggert [Tue, 9 Feb 2016 22:20:44 +0000 (14:20 -0800)]
; make change-history-commit
Paul Eggert [Tue, 9 Feb 2016 22:15:09 +0000 (14:15 -0800)]
Minor alignas cleanup
* src/lisp.h (alignas): Remove now-redundant #ifdef that was left
over from the old way of doing things, before Bug#20862 was fixed.
Paul Eggert [Tue, 9 Feb 2016 21:43:13 +0000 (13:43 -0800)]
Add lmalloc commentary and tweak laligned
* src/alloc.c (laligned): Help compiler in a tiny way by putting
the more-commonly-failing disjunct first.
Eli Zaretskii [Tue, 9 Feb 2016 19:07:11 +0000 (21:07 +0200)]
Fix network-stream-tests on MS-Windows
* test/lisp/net/network-stream-tests.el (make-local-unix-server):
Skip if local sockets are not supported.
Michael Albinus [Tue, 9 Feb 2016 19:04:34 +0000 (20:04 +0100)]
* admin/notes/bug-triage: Fix bug priorities. Explain colors in debbugs-gnu.
Eli Zaretskii [Tue, 9 Feb 2016 18:30:54 +0000 (20:30 +0200)]
Disable 'timer-list'
* lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled
command.
Eli Zaretskii [Tue, 9 Feb 2016 18:12:17 +0000 (20:12 +0200)]
Clarify documentation of key binding conventions
* doc/lispref/tips.texi (Key Binding Conventions): Clarify which
"punctuation characters" are reserved after "C-c". (Bug#22604)
Oscar Fuentes [Tue, 9 Feb 2016 17:28:02 +0000 (18:28 +0100)]
* etc/NEWS: mention the `vc-faces' customization group
Paul Eggert [Tue, 9 Feb 2016 17:06:40 +0000 (09:06 -0800)]
Sync with gnulib
This incorporates:
2016-02-09 stdalign: port to clang 3.7.0
2016-02-06 misc: port better to gcc -fsanitize=address
* doc/misc/texinfo.tex, lib/stdalign.in.h, m4/acl.m4, m4/getgroups.m4:
Copy from gnulib.
Michael Albinus [Tue, 9 Feb 2016 10:06:14 +0000 (11:06 +0100)]
* CONTRIBUTE: Add more examples for $(SELECTOR) make variable.
Paul Eggert [Tue, 9 Feb 2016 08:26:00 +0000 (00:26 -0800)]
Avoid aligned_alloc static/extern collision
* src/alloc.c (aligned_alloc): Define to private name when a
static function, to avoid collision with lisp.h extern decl.
Reported by John Yates in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00439.html
Katsumi Yamaoka [Tue, 9 Feb 2016 05:30:26 +0000 (05:30 +0000)]
Make mm-html-inhibit-images and mm-html-blocked-images default to nil
* lisp/gnus/mm-decode.el (mm-html-inhibit-images)
(mm-html-blocked-images): Default to nil.
* doc/misc/emacs-mime.texi (Display Customization): Mention that
mm-html-inhibit-images and mm-html-blocked-images default to nil.
* etc/NEWS (Gnus): Document mm-html-inhibit-images and
mm-html-blocked-images.
Paul Eggert [Tue, 9 Feb 2016 04:24:55 +0000 (20:24 -0800)]
Increase success rate of fallback lmalloc
* src/alloc.c (lmalloc, lrealloc): Reallocate with (typically)
larger and larger sizes, to increase the probability that
the allocator will return a Lisp-aligned pointer.
Lars Ingebrigtsen [Tue, 9 Feb 2016 03:45:22 +0000 (14:45 +1100)]
Make backgrounds extend to the end of the lines in shr
* lisp/net/shr.el (shr-face-background): Faces can also be on
the form `(:background "#fff)' (bug#22547).
Michal Nazarewicz [Tue, 9 Feb 2016 03:07:05 +0000 (14:07 +1100)]
Make `message-beginning-of-line' aware of folded headers
* lisp/gnus/message.pl (message-beginning-of-header): New function which
moves point to the beginning of a mail header. The function is aware of
folded headers and with non-nil argument looks for the true beginning of
a header while with nil argument moves to the indented text of header's
value.
(message-beginning-of-line): Function is now aware of folded headers and
either moves point to the indention of a header or, in visual-line-mode,
searches for the beginning of the header.
Michal Nazarewicz [Tue, 9 Feb 2016 03:05:34 +0000 (14:05 +1100)]
Optimise ‘point in message header’ check
* lisp/gnus/message.el (message-point-in-header-p): Replace two unbound
regular expression matches with a single bound string match thus
reducing amount of work the function is doing.
Lars Ingebrigtsen [Tue, 9 Feb 2016 02:51:45 +0000 (13:51 +1100)]
Make the `R' command get the correct relative <img>s
* lisp/net/eww.el (eww-readable): Preserve the base URL so
that image expansions are fetched from the right place (bug#22605).
(cherry picked from commit
8722e849f75ceafb82a1c17105e8ab76077a8ebc)
Backport:
Lars Ingebrigtsen [Tue, 9 Feb 2016 02:51:45 +0000 (13:51 +1100)]
Make the `R' command get the correct relative <img>s
* lisp/net/eww.el (eww-readable): Preserve the base URL so
that image expansions are fetched from the right place (bug#22605).
Lars Ingebrigtsen [Tue, 9 Feb 2016 02:36:15 +0000 (13:36 +1100)]
Add a mode to list and cancel timers
* doc/lispref/os.texi (Timers): Menton `timer-list'.
* lisp/emacs-lisp/timer-list.el: New file.
Mike Kupfer [Tue, 9 Feb 2016 01:48:46 +0000 (01:48 +0000)]
Fix typos in emacs-mime.texi and gnus.texi
* doc/misc/emacs-mime.texi (Display Customization):
* doc/misc/gnus.texi (HTML): Fix typo.
Lars Ingebrigtsen [Tue, 9 Feb 2016 01:44:32 +0000 (12:44 +1100)]
Add new commands to allow changing the size of images
* lisp/image.el (image-increase-size, image-decrease-size):
New commands.
(image-change-size): New function.
Lars Ingebrigtsen [Tue, 9 Feb 2016 01:34:48 +0000 (12:34 +1100)]
Allow the image scale to be a floating point number
* src/image.c (compute_image_size): The scale can be a
floating point number.
Katsumi Yamaoka [Tue, 9 Feb 2016 00:20:27 +0000 (00:20 +0000)]
* doc/misc/emacs-mime.texi (Display Customization):
Doc fix for mm-html-inhibit-images.
Lars Ingebrigtsen [Mon, 8 Feb 2016 23:34:59 +0000 (10:34 +1100)]
Fix message-cross-post-followup-to group names
* lisp/gnus/message.el (message-cross-post-followup-to): Don't
insert group names like "nntp+foo:zot", because those aren't valid.
David Edmondson [Mon, 8 Feb 2016 23:26:52 +0000 (10:26 +1100)]
Compare recipient and keys case-insensitively
* lisp/gnus/mml2015.el: (mml-secure-check-user-id): When comparing a
recipient address with that from a key, do so in a case insensitive
manner (bug#22603).
Lars Ingebrigtsen [Mon, 8 Feb 2016 23:24:34 +0000 (10:24 +1100)]
Add an IPv6 test
* test/lisp/net/network-stream-tests.el
(connect-to-tls-ipv6-nowait): Add an ipv6 test, too.
Lars Ingebrigtsen [Mon, 8 Feb 2016 23:16:14 +0000 (10:16 +1100)]
Use gnutls-serv instead of openssh
* test/lisp/net/network-stream-tests.el (make-tls-server): Use
gnutls-serv instead of openssh.
Glenn Morris [Mon, 8 Feb 2016 22:49:34 +0000 (17:49 -0500)]
* lisp/gnus/mm-decode.el (mm-alist-to-plist): Doc fix.
Katsumi Yamaoka [Mon, 8 Feb 2016 22:41:25 +0000 (22:41 +0000)]
Refactor HTML images handling of Gnus and mm-* (a part of bug#21650)
* doc/misc/emacs-mime.texi (Display Customization):
Remove mm-inline-text-html-with-images; add documentations for
mm-html-inhibit-images and mm-html-blocked-images.
* lisp/gnus/gnus-art.el (gnus-article-show-images):
No need to bind mm-inline-text-html-with-images.
(gnus-bind-safe-url-regexp): Rename to gnus-bind-mm-vars.
(gnus-bind-mm-vars): Rename from gnus-bind-safe-url-regexp;
bind mm-html-inhibit-images and mm-html-blocked-images.
(gnus-mime-view-all-parts, gnus-mime-view-part-internally)
(gnus-mm-display-part, gnus-mime-display-single)
(gnus-mime-display-alternative): Use gnus-bind-mm-vars.
* lisp/gnus/mm-decode.el (mm-inline-text-html-with-images): Remove.
(mm-html-inhibit-images, mm-html-blocked-images): New user options.
(mm-shr): Bind shr-inhibit-images and shr-blocked-images with
mm-html-inhibit-images and mm-html-blocked-images respectively
instead of gnus-inhibit-images and gnus-blocked-images.
* lisp/gnus/mm-view.el (mm-setup-w3m): Use mm-html-inhibit-images
instead of mm-inline-text-html-with-images.
Paul Eggert [Mon, 8 Feb 2016 19:38:35 +0000 (11:38 -0800)]
Port to FreeBSD 11-CURRENT i386
Problem reported by Herbert J. Skuhra in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00354.html
Instead of trying
* src/alloc.c (lmalloc, lrealloc, laligned): New functions.
(xmalloc, xzalloc, xrealloc, lisp_malloc): Use them.
(__alignof__) [!__GNUC__ && !__alignof__]: New macro.
(MALLOC_IS_GC_ALIGNED): New macro.
* src/lisp.h (NONPOINTER_BITS): Remove. All uses removed.
No longer needed now that alloc.c uses lmalloc and lrealloc.
Daniel Colascione [Mon, 8 Feb 2016 18:52:54 +0000 (10:52 -0800)]
Performance improvements for vc-hg
Teach vc-hg how to read some Mercurial internal data structures,
allowing us to avoid the need to run hg status -A, which is very slow
for large repositories. Fall back to running hg if anything looks
funny. vc-hg now puts the _working directory_ revision in the
modeline instead of the file revision, which greatly improves
performance and which allows us to again skip running hg in the case
that we have an active bookmark.
* lisp/vc/vc-hg.el (vc-hg-state): Try calling `vc-hg-statefast'
(vc-hg-symbolic-revision-styles)
(vc-hg-use-file-version-for-mode-line-version)
(vc-hg-parse-hg-data-structures): New user preferences
(vc-hg--active-bookmark-internal, vc-hg--run-log)
(vc-hg--symbolic-revision, vc-hg-mode-line-string)
(vc-hg--read-u8, vc-hg--read-u32-be)
(vc-hg--raw-dirstate-search, vc-hg--cached-dirstate-search)
(vc-hg--parts-to-string, vc-hg--pcre-to-elisp-re)
(vc-hg--glob-to-pcre, vc-hg--hgignore-add-pcre)
(vc-hg--hgignore-add-glob, vc-hg--hgignore-add-path)
(vc-hg--slurp-hgignore-1, vc-hg--slurp-hgignore)
(vc-hg--ignore-patterns-valid-p)
(vc-hg--ignore-patterns-ignored-p, vc-hg--time-to-fixnum)
(vc-hg--file-ignored-p, vc-hg--read-repo-requirements)
(vc-hg--requirements-understood-p, vc-hg--dirstate-scan-cache)
(vc-hg-state-fast): New functions.
(vc-hg--hgignore-patterns, vc-hg--hgignore-filenames)
(vc-hg--cached-ignore-patterns, vc-hg--dirstate-scan-cache)
(vc-hg--dirstate-scan-cache): New internal variables.
* lisp/vc/vc-hooks.el (vc-refresh-state): Invoke vc find-file-hook
before updating modeline.
Glenn Morris [Mon, 8 Feb 2016 16:48:47 +0000 (08:48 -0800)]
; ChangeLog fixes.
Glenn Morris [Mon, 8 Feb 2016 16:43:52 +0000 (08:43 -0800)]
; Some standardization of copyright and license notices in recent new files
Michael Albinus [Mon, 8 Feb 2016 09:54:43 +0000 (10:54 +0100)]
Some fixes in file-notify-tests.el
* test/automated/file-notify-tests.el
(file-notify--test-with-events-check)
(file-notify--test-with-events-explainer): New defuns.
(file-notify--test-with-events): Use it.
(file-notify-test07-backup): Fix docstring. Some of the
backends fire two `changed' events. Backup by rename doesn't
work for kqueue.
Lars Ingebrigtsen [Mon, 8 Feb 2016 07:28:00 +0000 (18:28 +1100)]
Skip TLS tests if we don't have openssl
* test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
TLS tests if we don't have openssl and GnuTLS.
Lars Ingebrigtsen [Mon, 8 Feb 2016 07:22:53 +0000 (18:22 +1100)]
Automatically scale images up on high-density screens
* doc/lispref/display.texi (ImageMagick Images): Mention :scale.
(Defining Images): Mention image-scaling-factor.
* lisp/image.el (image-compute-scaling-factor): New function
(bug#22172).
(create-image): Use it.
(image-scaling-factor): New variable.
* src/image.c (compute_image_size): Take :scale into account.
Lars Ingebrigtsen [Mon, 8 Feb 2016 06:13:01 +0000 (17:13 +1100)]
Ensure progress when fetching from the queue
* lisp/url/url-queue.el (url-queue-check-progress): Ensure
that we have progress when fetching queued requests (bug#22576).
Lars Ingebrigtsen [Mon, 8 Feb 2016 05:44:56 +0000 (16:44 +1100)]
Make mail-extract-address-components return the user name more
* lisp/mail/mail-extr.el (mail-extract-address-components):
Return the name even if it's the same as the mailbox name (if
`mail-extr-ignore-single-names' isn't set) (bug#22594).
Lars Ingebrigtsen [Mon, 8 Feb 2016 05:06:59 +0000 (16:06 +1100)]
Message no longer warns about unknown top level domains
Jarno Malmari [Mon, 8 Feb 2016 04:56:21 +0000 (15:56 +1100)]
Add tests for url-auth
* test/lisp/url/url-auth-tests.el: New file.
Lars Ingebrigtsen [Mon, 8 Feb 2016 04:28:50 +0000 (15:28 +1100)]
Add a TLS connection test
* test/lisp/net/network-stream-tests.el (connect-to-tls): Add
a TLS connection test.
Lars Ingebrigtsen [Mon, 8 Feb 2016 03:35:07 +0000 (14:35 +1100)]
Add more network tests
* test/lisp/net/network-stream-tests.el (echo-server-nowait):
New test.
Lars Ingebrigtsen [Mon, 8 Feb 2016 03:24:25 +0000 (14:24 +1100)]
Add network tests
* test/lisp/net/network-stream-tests.el: New suite of network tests.
Foo [Mon, 8 Feb 2016 02:28:37 +0000 (13:28 +1100)]
Allow various Gnus and Message address variables to be functions
* doc/misc/gnus.texi (To From Newsgroups):
gnus-ignored-from-addresses can be a function.
* doc/misc/message.texi (Wide Reply):
message-dont-reply-to-names can be a function.
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities):
message-alternative-emails can be a function.
* lisp/gnus/gnus-notifications.el (gnus-notifications):
message-alternative-emails can be a function (bug#22315).
* lisp/gnus/gnus-sum.el
(gnus-summary-from-or-to-or-newsgroups):
gnus-ignored-from-addresses can be a function (bug#22315).
Lars Ingebrigtsen [Mon, 8 Feb 2016 02:12:17 +0000 (13:12 +1100)]
Fix typo in Gnus regexp
* lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Fix
typo in last change to this regexp (bug#22592).
Paul Eggert [Sun, 7 Feb 2016 21:33:01 +0000 (13:33 -0800)]
Port to FreeBSD x86
Reported by Herbert J. Skuhra in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00336.html
* src/lisp.h (NONPOINTER_BITS) [__FreeBSD__]: Zero in this case too,
since malloc always returns a multiple of 8 in FreeBSD.
Eli Zaretskii [Sun, 7 Feb 2016 19:02:49 +0000 (21:02 +0200)]
; * etc/NEWS: Clarify entry about bracketed paste mode.
Michael Albinus [Sun, 7 Feb 2016 18:30:01 +0000 (19:30 +0100)]
Fix Bug#22557
* lisp/filenotify.el (file-notify-callback): Do not send a
`stopped' event in case of backup by renaming. (Bug#22557)
* test/automated/Makefile.in: Use $(SELECTOR_EXPENSIVE) for
all targets but check and check-maybe.
* test/automated/file-notify-tests.el
(file-notify--test-read-event-timeout): New defconst.
(file-notify--deftest-remote, file-notify--wait-for-events)
(file-notify-test02-events)
(file-notify-test04-file-validity)
(file-notify-test06-many-events): Use it.
(file-notify--test-cleanup): Make it more robust. Delete also
backup file.
(file-notify-test07-backup): New test.
Paul Eggert [Sun, 7 Feb 2016 15:46:59 +0000 (07:46 -0800)]
Fix test for dladdr
Problem reported by Andreas Schwab in:
http://lists.gnu.org/archive/html/emacs-devel/2016-02/msg00327.html
* configure.ac (dladdr): Link with LIBMODULES when checking for
this function.
Alan Mackenzie [Sun, 7 Feb 2016 15:06:43 +0000 (15:06 +0000)]
On leaving CC Mode, clean up by removing character properties.
* lisp/progmodes/cc-mode.el (c-leave-cc-mode-mode): Remove from the buffer
all instances of the text properties/extents category, syntax-table,
c-is-sws, c-in-sws, c-type, and c-awk-NL-prop.
Andreas Schwab [Sun, 7 Feb 2016 12:29:16 +0000 (13:29 +0100)]
Fix gnus-group-get-new-news-this-group on group with closed server
* lisp/gnus/nnimap.el (nnimap-change-group): Lookup server
method and pass to nnimap-open-server.
Glenn Morris [Sun, 7 Feb 2016 12:23:56 +0000 (07:23 -0500)]
; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 7 Feb 2016 11:30:00 +0000 (06:30 -0500)]
; Auto-commit of ChangeLog files.
Artur Malabarba [Sun, 7 Feb 2016 08:35:49 +0000 (08:35 +0000)]
* lisp/comint.el (comint-prompt-read-only): Clean tabs in docstring
While tabs in code are mostly fine because the Emacs sources have a
.dir-locals file specifying tab-width, the same is not true of tabs in
code examples inside docstrings. The docstring is printed on a *Help*
buffer, which can be created on any directory and won't necessarily have
the same tab-width set.
Lars Ingebrigtsen [Sun, 7 Feb 2016 06:56:59 +0000 (17:56 +1100)]
Don't inloop gnus-uu-mark-thread on the last thread
* lisp/gnus/gnus-uu.el (gnus-uu-mark-thread): Don't infloop on the
final thread in the summary buffer (bug#16666).
Lars Ingebrigtsen [Sun, 7 Feb 2016 04:04:31 +0000 (15:04 +1100)]
Display non-ASCII group names better in prompts
* lisp/gnus/gnus-sum.el (gnus-articles-to-read): To decode the
group name, we have to do that before we remove the prefix.
Lars Ingebrigtsen [Sun, 7 Feb 2016 03:30:16 +0000 (14:30 +1100)]
message-valid-fqdn-regexp no longer exists
* lisp/gnus/gnus-art.el (gnus-button-valid-fqdn-regexp): Don't use
the no-longer-existing message-valid-fqdn-regexp variable.
Lars Ingebrigtsen [Sun, 7 Feb 2016 03:19:59 +0000 (14:19 +1100)]
Remove message-valid-fqdn-regexp, since it changes too much now
* lisp/gnus/message.el (message-valid-fqdn-regexp): Remove.
(message-bogus-recipient-p): Don't use it any more.
(message-make-fqdn): Ditto. Suggested by Lars-Johan Liman.
Paul van der Walt [Sun, 7 Feb 2016 02:52:22 +0000 (13:52 +1100)]
Match "Re :" as a "Re:" prefix
* lisp/gnus/message.el (message-subject-re-regexp): Also match
"Re :" as a "Re:" prefix (commonly used in France).
Adam Sjøgren [Sun, 7 Feb 2016 02:11:57 +0000 (13:11 +1100)]
lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.
* lisp/net/shr.el (shr-tag-del, shr-tag-ins): New functions.
Lars Ingebrigtsen [Sun, 7 Feb 2016 02:01:01 +0000 (13:01 +1100)]
Default to gpg2 instead of gpg
* lisp/epg-config.el (epg-gpg-program): Prefer gpg2 over gpg, if
it exists. This fixes many problems with using the GPG
authentication agent.
David Edmondson [Sun, 7 Feb 2016 01:54:08 +0000 (12:54 +1100)]
src/process.c Correctly convert AF_INET6 addresses
* src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
converted to a list of 16 bit quantities by
conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
same scheme rather than expecting a (longer) list of 8 bit
quantities.
Backport:
(cherry picked from commit
55ce3c30d617c38eb086d5ad4ffbd881c20c559c)
David Edmondson [Sun, 7 Feb 2016 01:54:08 +0000 (12:54 +1100)]
src/process.c Correctly convert AF_INET6 addresses
* src/process.c (conv_lisp_to_sockaddr): AF_INET6 addresses are
converted to a list of 16 bit quantities by
conv_sockaddr_to_lisp(). conv_lisp_to_sockaddr() should follow the
same scheme rather than expecting a (longer) list of 8 bit
quantities.
Artur Malabarba [Sat, 6 Feb 2016 22:46:16 +0000 (22:46 +0000)]
* lisp/isearch.el (isearch-define-mode-toggle): Improve logic
Artur Malabarba [Sat, 6 Feb 2016 22:45:17 +0000 (22:45 +0000)]
* lisp/menu-bar.el (menu-bar-options-menu): New search submenu
(menu-bar-search-options-menu): New variable
Artur Malabarba [Sat, 6 Feb 2016 18:45:21 +0000 (18:45 +0000)]
* lisp/isearch.el (search-default-mode)
(isearch-regexp-function): Improve docstrings.
Artur Malabarba [Sat, 6 Feb 2016 18:44:22 +0000 (18:44 +0000)]
* lisp/isearch.el: Rename search-default-regexp-mode to search-default-mode
(search-default-mode): New variable.
(isearch-mode, isearch-define-mode-toggle)
(isearch--describe-regexp-mode): Update accordingly.
* lisp/menu-bar.el (nonincremental-search-forward): Update accordingly.
* etc/NEWS: Update accordingly.
* doc/emacs/search.texi: Update accordingly.
Oscar Fuentes [Sat, 6 Feb 2016 21:12:53 +0000 (22:12 +0100)]
Use monitor's resolution for positioning tooltips
* src/xfns.c (compute_tip_xy): Use the resolution of the monitor where
the mouse pointer is to avoid placing the tooltip over the border of
the monitor on multi-head displays. Fixes bug#22549.
Eli Zaretskii [Sat, 6 Feb 2016 19:53:38 +0000 (21:53 +0200)]
Fix file-notify-test on MS-Windows
* test/automated/file-notify-tests.el (file-notify--test-timeout):
Reduce w32notify timeout to 10 sec.
(file-notify-test06-many-events): Call read-event after each
rename, to keep the w32notify backend happy in batch mode.
(Bug#22534)